function getbirthday(sfz){
    var day=''
    var arr =sfz.split('')
    for(var i=6; i< 14; i++){
        day += arr[i]
    }
    return day
}
console.log(getbirthday('430522194910010001'))